package com.feng.springboot.bean;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "book")
@Component
public class Book {
    private Integer id;
    private String bookName;
}
